/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 描述:添加上市信息 请求方式:POST 参数:comIpoDto 返回值:JsonResult 是否可用：ok
     * @param comIpoDto  comIpoDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveComIpo': {url: '/cms/v2/api/com/ipo', method: 'post'},

     /*
     * 描述:根据工商/企业id ,获取工商/企业上市信息 ,请求方式:GET ,参数:comIpoDto ,返回值:JsonResult<PageResult<ComIpoVO>> ,是否可用：ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param companyId  工商 id  Required:[false]  Type:[integer]  Location:[query]
     */
    'getComIpoByCompanyId': {url: '/cms/v2/api/com/ipo', method: 'get'},

     /*
     * 描述:编辑上市信息  ,请求方式: PUT ,参数:comIpoDto ,返回值:JsonResult ,是否可用：ok
     * @param comIpoDto  comIpoDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateComIpo': {url: '/cms/v2/api/com/ipo', method: 'put'},

     /*
     * 描述:删除当前一条上市信息(真删除) ,请求方式: DELETE ,参数:id ,返回值:JsonResult ,是否可用：ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteComIpoById': {url: '/cms/v2/api/com/{id}/ipo', method: 'delete'},

};

 export default api;
